package com.plian.system.service.pf;

import com.plian.system.entity.pf.BaseEnterpriseAnnuity;
import com.plian.system.model.ListResult;
import com.plian.system.model.R;
import com.plian.system.mybatis.base.BaseService;
import com.plian.system.mybatis.support.Query;
import com.plian.system.vo.pf.BaseEnterpriseAnnuityVO;
import org.springframework.web.bind.annotation.RequestBody;

public interface IBaseEnterpriseAnnuityService extends BaseService<BaseEnterpriseAnnuity> {

    boolean submit(BaseEnterpriseAnnuity baseEnterpriseAnnuity);

    R<BaseEnterpriseAnnuityVO> getDetailObj(BaseEnterpriseAnnuity baseEnterpriseAnnuity);

    ListResult<BaseEnterpriseAnnuityVO> list(@RequestBody Query query);

    String saveEnterpriseAnnuity(String data);
}
